Skip to content

Feature/model override config#2

Merged
d-teller merged 4 commits intomainfrom
feature/model-override-config
Mar 11, 2026
Merged

Feature/model override config#2
d-teller merged 4 commits intomainfrom
feature/model-override-config

Conversation

@d-teller
Copy link
Contributor

  • Add config get|set|reset|path subcommand for inspecting and modifying runtime overrides without editing YAML directly
  • Surface model hint in MCP server instructions (## Model Preference) so runtimes can see the agent's configured model
  • Add ResetField/ResetFieldTo to pkg/config — removes individual overrides, deletes config file when all fields become nil
  • Bring in prerequisite v0.4.0 changes: pkg/config/ package, install --model flag, applyConfigOverrides, WithModel/WithLazyToolLoading/WithConfigPath options

d-teller and others added 4 commits March 11, 2026 08:40
- Bump cliVersion to 0.4.0 to trigger auto-release
- Add Dockerfile (multi-stage, alpine-based)
- Add publish-package job to CI that builds and pushes multi-arch
  container image to ghcr.io after release
Introduces `<agent> config get|set|reset|path` for inspecting and modifying
runtime overrides without editing YAML. Surfaces model hint in MCP instructions
so runtimes can see the configured model preference. Adds ResetField to remove
individual config overrides (deletes file when all fields nil).

Also brings in prerequisite changes from v0.4.0: config package, install --model
flag, applyConfigOverrides, WithModel/WithLazyToolLoading/WithConfigPath options.

Co-Authored-By: Claude <noreply@anthropic.com>
Docker is not used in this project. Removes the Dockerfile, the
publish-package CI job, and the packages:write permission.

Co-Authored-By: Claude <noreply@anthropic.com>
- New examples/model-override/ with agent declaring model: claude-opus-4-6
- README: add config to architecture diagram, new Runtime Configuration section
- docs/reference.md: add WithModel, WithLazyToolLoading, WithConfigPath options,
  config subcommand reference, update --describe schema and BridgeConfig,
  add --model flag to install
- docs/concepts.md: add config to lifecycle, new Runtime Config Overrides section
- docs/quickstart.md: add config commands to Explore step
- docs/faq.md: new "How do I override settings without rebuilding?" entry
- docs/guides/distribution.md: install-time config overrides section
- docs/guides/mcp.md: document model hint in server instructions
- docs/guides/agentfile-format.md: clarify model field is overridable

Co-Authored-By: Claude <noreply@anthropic.com>
@d-teller d-teller merged commit 4bb6c9b into main Mar 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant